<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "kd_total".
 *
 * @property integer $t_id
 * @property integer $jt_num
 * @property integer $yey_num
 * @property integer $yey_id
 * @property integer $t_num
 * @property integer $s_num
 * @property integer $p_num
 * @property integer $a_num
 * @property integer $img_size
 * @property integer $v_size
 * @property integer $mes_num
 * @property integer $p_a_num
 */
class Total extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'kd_total';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['jt_num', 'yey_num', 'yey_id', 't_num', 's_num', 'p_num', 'a_num', 'img_size', 'v_size', 'mes_num', 'p_a_num'], 'integer'],
            [['yey_num', 'yey_id', 't_num', 's_num', 'p_num', 'a_num', 'img_size', 'v_size', 'mes_num', 'p_a_num'], 'required'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            't_id' => '序号',
            'jt_num' => '集团数量',
            'yey_num' => '幼儿园数量',
            'yey_id' => '幼儿园id',
            't_num' => '幼师数量',
            's_num' => '幼儿数量',
            'p_num' => '家长数量',
            'a_num' => '文章数量',
            'img_size' => '图片容量',
            'v_size' => '视频容量',
            'mes_num' => '消息数量',
            'p_a_num' => '家长上传文章数量',
        ];
    }
}
